Generating Regression Tests using Model Checking
نویسندگان
چکیده
During the software maintenance phase, regression testing is certainly an expensive but necessary activity to make sure the new versions of the system do not “regress”. As software evolves, chances are that not only the implementation changes, but that the specification of the system changes too. We argue that guiding regression testing by the system specifications will be more accurate and cost effective. Model checking is used to reason about the truth of statements about the system specification. In this paper, we use a model checker as part of a highlyautomated regression test generation tool, providing a practical approach to specification based regression testing. Features of our approach that support different specification description styles and different test coverage criteria are also presented.
منابع مشابه
A short introduction to two approaches in formal verification of security protocols: model checking and theorem proving
In this paper, we shortly review two formal approaches in verification of security protocols; model checking and theorem proving. Model checking is based on studying the behavior of protocols via generating all different behaviors of a protocol and checking whether the desired goals are satisfied in all instances or not. We investigate Scyther operational semantics as n example of this...
متن کاملApplication of conditional moment tests to model checking for generalized linear models.
Generalized linear models (GLMs) are increasingly being used in daily data analysis. However, model checking for GLMs with correlated discrete response data remains difficult. In this paper, through a case study on marginal logistic regression using a real data set, we illustrate the flexibility and effectiveness of using conditional moment tests (CMTs), along with other graphical methods, to d...
متن کاملTitle Model Checking and Variable Selection in Nonparametric Regression
February 19, 2015 Type Package Title Model Checking and Variable Selection in Nonparametric Regression Version 1.0 Date 2012-08-03 Author Adriano Zanin Zambom Maintainer Adriano Zanin Zambom Depends R (>= 2.15.0), dr, MASS, graphics Description This package provides tests of significance for covariates (or groups of covariates) in a fully nonparametric regression mode...
متن کاملTowards a Framework for Generating Tests to Satisfy Complex Code Coverage in Java Pathfinder
We present work on a prototype tool based on the JavaPathfinder (JPF) model checker for automatically generating tests satisfying the MC/DC code coverage criterion. Using the Eclipse IDE, developers and testers can quickly instrument Java source code with JPF annotations covering all MC/DC coverage obligations, and JPF can then be used to automatically generate tests that satisfy these obligati...
متن کاملDirected random testing
Random testing can quickly generate many tests, is easy to implement, scales to large software applications, and reveals software errors. But it tends to generate many tests that are illegal or that exercise the same parts of the code as other tests, thus limiting its effectiveness. Directed random testing is a new approach to test generation that overcomes these limitations, by combining a bot...
متن کامل